package com.wandian.weather.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;



public class ModernTextBean implements Serializable {

    String key;
    private List<ItemValue> items;

    private List<ItemValue> items2;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<ItemValue> getItems() {
        if (items == null)
            items = new ArrayList<>();
        return items;
    }

    public List<ItemValue> getItems2() {
        if (items2 == null)
            items2 = new ArrayList<>();
        return items2;
    }

    public void setItems2(List<ItemValue> items2) {
        this.items2 = items2;
    }

    public void setItems(List<ItemValue> items) {
        this.items = items;
    }

    public class ItemValue  implements Serializable {

        String key;
        String value;

        public ItemValue() {
        }

        public ItemValue(String key, String value) {
            this.key = key;
            this.value = value;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

    }
}
